<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>RobotComm: E:/RobotProgram/RobotComm/RobotComm/src/robot_comm_interface.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">RobotComm
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.17 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_ea3ce016c58d232f7fa1d1ef45b82b3d.html">RobotComm</a></li><li class="navelem"><a class="el" href="dir_2310dfda14d3ad679a5031c36e4d7867.html">RobotComm</a></li><li class="navelem"><a class="el" href="dir_786ca8624b6fa0351b28de730a9f6683.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">robot_comm_interface.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="robot__comm__interface_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160; </div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#ifndef ROBOT_COMM_INTERFACE_H</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#define ROBOT_COMM_INTERFACE_H</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="comm__struct__define_8h.html">comm_struct_define.h</a>&quot;</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160; </div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#ifdef ROBOTCOMM_LIB</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#define RobotCommApi extern &quot;C&quot; __declspec(dllexport) //Q_DECL_EXPORT</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#define RobotCommCpp __declspec(dllexport)</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#define RobotCommApi extern &quot;C&quot; __declspec(dllimport)   //Q_DECL_IMPORT</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#define RobotCommCpp __declspec(dllimport)</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160; </div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="keyword">using namespace </span>std;</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="keyword">namespace </span>CRobotComm</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;{</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160; </div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    RobotCommApi <span class="keywordtype">void</span> <a class="code" href="robot__comm__interface_8h.html#af9532dbf62e10baf568be15c5a74aa50">deleteInstance</a>();</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160; </div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;    RobotCommApi <span class="keywordtype">void</span> <a class="code" href="robot__comm__interface_8h.html#ac98f7db0ad1637f25d76fc0249fe7fb1">setModbusTcpClientInfo</a>(<a class="code" href="struct_s_modbus_tcp_client_info.html">SModbusTcpClientInfo</a> *info);</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160; </div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    RobotCommApi <a class="code" href="struct_s_modbus_tcp_client_info.html">SModbusTcpClientInfo</a> * <a class="code" href="robot__comm__interface_8h.html#aabfdeb16d3f8512f2e25903874fcf9a7">getModbusTcpClientInfo</a>();</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160; </div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    RobotCommApi <span class="keywordtype">void</span> <a class="code" href="robot__comm__interface_8h.html#ae70eeac3a74579832eadea907e1bd847">loopModbusTcpClient</a>();</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160; </div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    RobotCommApi <span class="keywordtype">bool</span> <a class="code" href="robot__comm__interface_8h.html#a6da480e2d3e9032b5d39781a75004177">getModbusTcpClientConnectStatus</a>();</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160; </div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    RobotCommApi <span class="keywordtype">void</span> <a class="code" href="robot__comm__interface_8h.html#ae15c861ad828babb27ae9e558046c48b">setModbusTcpServerInfo</a>(<a class="code" href="struct_s_modbus_tcp_server_info.html">SModbusTcpServerInfo</a> *info);</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160; </div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    RobotCommApi <a class="code" href="struct_s_modbus_tcp_server_info.html">SModbusTcpServerInfo</a> * <a class="code" href="robot__comm__interface_8h.html#a6fa2a9e34466a7e729613f6107a57b0d">getModbusTcpServerInfo</a>();</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160; </div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    RobotCommApi <span class="keywordtype">void</span> <a class="code" href="robot__comm__interface_8h.html#a5c106f93b5a5fb5d6bd7e848907fa0e6">loopModbusTcpServer</a>();</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160; </div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;    RobotCommCpp vector&lt;STcpConnectClientInfo&gt; <a class="code" href="robot__comm__interface_8h.html#ade304ab0ca1e2662fff6da59c2e6e1dc">getModbusTcpServerConnectList</a>();</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160; </div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;    RobotCommApi <span class="keywordtype">void</span> <a class="code" href="robot__comm__interface_8h.html#a550b012e6c397317769518e231304806">setModbusTcpServerNormalInfo</a>(<a class="code" href="struct_s_modbus_tcp_server_normal_info.html">SModbusTcpServerNormalInfo</a> *info);</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160; </div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;    RobotCommApi <a class="code" href="struct_s_modbus_tcp_server_normal_info.html">SModbusTcpServerNormalInfo</a> * <a class="code" href="robot__comm__interface_8h.html#a691f0c83b0bc321ea61f3940416a1830">getModbusTcpServerNormalInfo</a>();</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160; </div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;    RobotCommCpp vector&lt;STcpConnectClientInfo&gt; <a class="code" href="robot__comm__interface_8h.html#aac1dc2b60190bbe9e13699f731fc137d">getModbusTcpServerNormalConnectList</a>();</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160; </div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;    RobotCommApi <span class="keywordtype">void</span> <a class="code" href="robot__comm__interface_8h.html#ad02da5c3852943f6aea5820c59224a78">setUserTcpServerInfo</a>(<a class="code" href="struct_s_user_tcp_server_info.html">SUserTcpServerInfo</a> *info);</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160; </div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;    RobotCommApi <a class="code" href="struct_s_user_tcp_server_info.html">SUserTcpServerInfo</a> * <a class="code" href="robot__comm__interface_8h.html#a31418e742f17464db5181de9e7e08f54">getUserTcpServerInfo</a>();</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160; </div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;    RobotCommApi <span class="keywordtype">void</span> <a class="code" href="robot__comm__interface_8h.html#a9e247da871f9521c2e12086a324061fe">loopUserTcpServer</a>();</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160; </div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160; </div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;    RobotCommCpp vector&lt;STcpConnectClientInfo&gt; <a class="code" href="robot__comm__interface_8h.html#a44df6930b7d216e184f524822defaf40">getUserTcpServerConnectList</a>();</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160; </div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160; </div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;    RobotCommApi <span class="keywordtype">bool</span> <a class="code" href="robot__comm__interface_8h.html#a42473c1b80e37fe449b5dded683ac151">setRemoteTcpResponseCallback</a>(<a class="code" href="comm__struct__define_8h.html#a916a87c0a09ac663fcc24844391e40ae">RemoteTcpResponseCallback</a> pFunc=NULL);</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160; </div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;    RobotCommApi <a class="code" href="comm__struct__define_8h.html#a916a87c0a09ac663fcc24844391e40ae">RemoteTcpResponseCallback</a> <a class="code" href="robot__comm__interface_8h.html#a0ae5c09c34691ccaa6a695f15aaeac6d">getRemoteTcpResponseCallback</a>();                  </div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160; </div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;    RobotCommApi <span class="keywordtype">bool</span> <a class="code" href="robot__comm__interface_8h.html#a93f63e939622d297dcb380600519870e">setGibbonTrig</a>(<span class="keywordtype">bool</span> * enb = NULL,<a class="code" href="comm__struct__define_8h.html#a921819d0a0cc8071ee2efca0e982eaa0">GibbonResponseCallback</a> pFunc=NULL);</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160; </div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;    RobotCommApi <span class="keywordtype">void</span> <a class="code" href="robot__comm__interface_8h.html#abc331eaf1a4a1986d1ff642a6a86b179">setModbusTcpClientVisionInfo</a>(<a class="code" href="struct_s_modbus_tcp_client_info.html">SModbusTcpClientInfo</a> *info);</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160; </div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;    RobotCommApi <a class="code" href="struct_s_modbus_tcp_client_info.html">SModbusTcpClientInfo</a> * <a class="code" href="robot__comm__interface_8h.html#acc09e664f99015629d75b11310ed39d4">getModbusTcpClientVisionInfo</a>();</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160; </div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;    RobotCommApi <span class="keywordtype">bool</span> <a class="code" href="robot__comm__interface_8h.html#a8c49df63f38df75b180e61ec945482cf">getModbusTcpClientVisionConnectStatus</a>();</div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160; </div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;    RobotCommApi <span class="keywordtype">bool</span> <a class="code" href="robot__comm__interface_8h.html#aae9bc6a033f9fbc752203b1e3690841f">addModbusTcpClientCmdEx</a>(<a class="code" href="struct_s_modbus_tcp_client_cmd_ex.html">SModbusTcpClientCmdEx</a> *cmd);</div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160; </div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160; </div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;    RobotCommApi HANDLE <a class="code" href="robot__comm__interface_8h.html#aefb2b2c05530c9987c437d325e1793a0">addTcpClient</a>(<a class="code" href="struct_s_tcp_server_info.html">STcpServerInfo</a> *info_=NULL);</div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160; </div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;    RobotCommApi <span class="keywordtype">bool</span> <a class="code" href="robot__comm__interface_8h.html#af39db568f4a30014b971d04ba3fc908d">removeTcpClient</a>(HANDLE handle_=NULL);</div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160; </div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;    RobotCommApi <span class="keywordtype">bool</span> <a class="code" href="robot__comm__interface_8h.html#afed0b78b289adcf7cebefb1cb559dbed">getTcpClientStatus</a>(HANDLE handle_=NULL,<a class="code" href="struct_s_tcp_client_status.html">STcpClientStatus</a> *status_=NULL);</div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160; </div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;    RobotCommApi <span class="keywordtype">int</span> <a class="code" href="robot__comm__interface_8h.html#ae5fba62a4d591a36adbe9a75947f5981">connectToServer</a>(HANDLE handle_=NULL);</div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160; </div>
<div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;    RobotCommApi <span class="keywordtype">int</span> <a class="code" href="robot__comm__interface_8h.html#a7a626dea63a14bfe15664b3656bec501">disConnectToServer</a>(HANDLE handle_=NULL);</div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160; </div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;    RobotCommApi <span class="keywordtype">int</span> <a class="code" href="robot__comm__interface_8h.html#af427cac6d40e767c2437bccd30019104">sendData</a>(HANDLE handle_=NULL,<span class="keywordtype">char</span> *data_=NULL,<span class="keywordtype">int</span> data_len=0);</div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160; </div>
<div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;    RobotCommApi <span class="keywordtype">int</span> <a class="code" href="robot__comm__interface_8h.html#a5955fd37b220aa1ea47e385efcf9c0ba">readData</a>(HANDLE handle_=NULL,<span class="keywordtype">char</span> *data_=NULL);</div>
<div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160; </div>
<div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;}</div>
<div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160; </div>
<div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;<span class="preprocessor">#endif // ROBOT_COMM_INTERFACE_H</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="arobot__comm__interface_8h_html_aae9bc6a033f9fbc752203b1e3690841f"><div class="ttname"><a href="robot__comm__interface_8h.html#aae9bc6a033f9fbc752203b1e3690841f">CRobotComm::addModbusTcpClientCmdEx</a></div><div class="ttdeci">RobotCommApi bool addModbusTcpClientCmdEx(SModbusTcpClientCmdEx *cmd)</div><div class="ttdoc">设置ModbusTCP视觉客户端辅助通讯命令。用户级函数接口</div></div>
<div class="ttc" id="arobot__comm__interface_8h_html_ac98f7db0ad1637f25d76fc0249fe7fb1"><div class="ttname"><a href="robot__comm__interface_8h.html#ac98f7db0ad1637f25d76fc0249fe7fb1">CRobotComm::setModbusTcpClientInfo</a></div><div class="ttdeci">RobotCommApi void setModbusTcpClientInfo(SModbusTcpClientInfo *info)</div><div class="ttdoc">设置ModbusTCP客户端通讯配置参数。系统级函数接口</div></div>
<div class="ttc" id="arobot__comm__interface_8h_html_a7a626dea63a14bfe15664b3656bec501"><div class="ttname"><a href="robot__comm__interface_8h.html#a7a626dea63a14bfe15664b3656bec501">CRobotComm::disConnectToServer</a></div><div class="ttdeci">RobotCommApi int disConnectToServer(HANDLE handle_=NULL)</div><div class="ttdoc">断开连接。用户级函数接口</div></div>
<div class="ttc" id="arobot__comm__interface_8h_html_ad02da5c3852943f6aea5820c59224a78"><div class="ttname"><a href="robot__comm__interface_8h.html#ad02da5c3852943f6aea5820c59224a78">CRobotComm::setUserTcpServerInfo</a></div><div class="ttdeci">RobotCommApi void setUserTcpServerInfo(SUserTcpServerInfo *info)</div><div class="ttdoc">设置远程TCP服务端通讯配置参数。系统级函数接口</div></div>
<div class="ttc" id="arobot__comm__interface_8h_html_abc331eaf1a4a1986d1ff642a6a86b179"><div class="ttname"><a href="robot__comm__interface_8h.html#abc331eaf1a4a1986d1ff642a6a86b179">CRobotComm::setModbusTcpClientVisionInfo</a></div><div class="ttdeci">RobotCommApi void setModbusTcpClientVisionInfo(SModbusTcpClientInfo *info)</div><div class="ttdoc">设设置ModbusTCP视觉客户端通讯配置参数。用户级函数接口</div></div>
<div class="ttc" id="arobot__comm__interface_8h_html_aac1dc2b60190bbe9e13699f731fc137d"><div class="ttname"><a href="robot__comm__interface_8h.html#aac1dc2b60190bbe9e13699f731fc137d">CRobotComm::getModbusTcpServerNormalConnectList</a></div><div class="ttdeci">RobotCommCpp vector&lt; STcpConnectClientInfo &gt; getModbusTcpServerNormalConnectList()</div><div class="ttdoc">获取ModbusTCP通用服务端远端连接列表。用户级函数接口</div></div>
<div class="ttc" id="arobot__comm__interface_8h_html_ae70eeac3a74579832eadea907e1bd847"><div class="ttname"><a href="robot__comm__interface_8h.html#ae70eeac3a74579832eadea907e1bd847">CRobotComm::loopModbusTcpClient</a></div><div class="ttdeci">RobotCommApi void loopModbusTcpClient()</div><div class="ttdoc">ModbusTCP客户端通讯任务循环实现接口。系统级函数接口</div></div>
<div class="ttc" id="astruct_s_modbus_tcp_client_info_html"><div class="ttname"><a href="struct_s_modbus_tcp_client_info.html">SModbusTcpClientInfo</a></div><div class="ttdoc">ModbusTCP客户端配置参数</div><div class="ttdef"><b>Definition:</b> comm_struct_define.h:34</div></div>
<div class="ttc" id="arobot__comm__interface_8h_html_aabfdeb16d3f8512f2e25903874fcf9a7"><div class="ttname"><a href="robot__comm__interface_8h.html#aabfdeb16d3f8512f2e25903874fcf9a7">CRobotComm::getModbusTcpClientInfo</a></div><div class="ttdeci">RobotCommApi SModbusTcpClientInfo * getModbusTcpClientInfo()</div><div class="ttdoc">读取ModbusTCP客户端通讯配置参数。系统级函数接口</div></div>
<div class="ttc" id="astruct_s_modbus_tcp_server_normal_info_html"><div class="ttname"><a href="struct_s_modbus_tcp_server_normal_info.html">SModbusTcpServerNormalInfo</a></div><div class="ttdoc">ModbusTCP通用服务端配置参数</div><div class="ttdef"><b>Definition:</b> comm_struct_define.h:137</div></div>
<div class="ttc" id="arobot__comm__interface_8h_html_aefb2b2c05530c9987c437d325e1793a0"><div class="ttname"><a href="robot__comm__interface_8h.html#aefb2b2c05530c9987c437d325e1793a0">CRobotComm::addTcpClient</a></div><div class="ttdeci">RobotCommApi HANDLE addTcpClient(STcpServerInfo *info_=NULL)</div><div class="ttdoc">添加TCP客户端连接，返回客户端句柄。用户级函数接口</div></div>
<div class="ttc" id="arobot__comm__interface_8h_html_a691f0c83b0bc321ea61f3940416a1830"><div class="ttname"><a href="robot__comm__interface_8h.html#a691f0c83b0bc321ea61f3940416a1830">CRobotComm::getModbusTcpServerNormalInfo</a></div><div class="ttdeci">RobotCommApi SModbusTcpServerNormalInfo * getModbusTcpServerNormalInfo()</div><div class="ttdoc">获取ModbusTCP通用服务端通讯配置参数。用户级函数接口</div></div>
<div class="ttc" id="acomm__struct__define_8h_html"><div class="ttname"><a href="comm__struct__define_8h.html">comm_struct_define.h</a></div><div class="ttdoc">通讯相关结构体定义</div></div>
<div class="ttc" id="arobot__comm__interface_8h_html_a5955fd37b220aa1ea47e385efcf9c0ba"><div class="ttname"><a href="robot__comm__interface_8h.html#a5955fd37b220aa1ea47e385efcf9c0ba">CRobotComm::readData</a></div><div class="ttdeci">RobotCommApi int readData(HANDLE handle_=NULL, char *data_=NULL)</div><div class="ttdoc">发送数据。用户级函数接口</div></div>
<div class="ttc" id="arobot__comm__interface_8h_html_a42473c1b80e37fe449b5dded683ac151"><div class="ttname"><a href="robot__comm__interface_8h.html#a42473c1b80e37fe449b5dded683ac151">CRobotComm::setRemoteTcpResponseCallback</a></div><div class="ttdeci">RobotCommApi bool setRemoteTcpResponseCallback(RemoteTcpResponseCallback pFunc=NULL)</div><div class="ttdoc">设置远程TCP数据应答函数指针。系统级函数接口</div></div>
<div class="ttc" id="arobot__comm__interface_8h_html_a6da480e2d3e9032b5d39781a75004177"><div class="ttname"><a href="robot__comm__interface_8h.html#a6da480e2d3e9032b5d39781a75004177">CRobotComm::getModbusTcpClientConnectStatus</a></div><div class="ttdeci">RobotCommApi bool getModbusTcpClientConnectStatus()</div><div class="ttdoc">获取ModbusTCP客户端通讯连接状态。系统级函数接口</div></div>
<div class="ttc" id="arobot__comm__interface_8h_html_ae15c861ad828babb27ae9e558046c48b"><div class="ttname"><a href="robot__comm__interface_8h.html#ae15c861ad828babb27ae9e558046c48b">CRobotComm::setModbusTcpServerInfo</a></div><div class="ttdeci">RobotCommApi void setModbusTcpServerInfo(SModbusTcpServerInfo *info)</div><div class="ttdoc">设置ModbusTCP服务端通讯配置参数。系统级函数接口</div></div>
<div class="ttc" id="arobot__comm__interface_8h_html_af9532dbf62e10baf568be15c5a74aa50"><div class="ttname"><a href="robot__comm__interface_8h.html#af9532dbf62e10baf568be15c5a74aa50">CRobotComm::deleteInstance</a></div><div class="ttdeci">RobotCommApi void deleteInstance()</div><div class="ttdoc">删除整个通讯模块类。系统级函数接口</div></div>
<div class="ttc" id="astruct_s_user_tcp_server_info_html"><div class="ttname"><a href="struct_s_user_tcp_server_info.html">SUserTcpServerInfo</a></div><div class="ttdoc">TCP服务端配置参数</div><div class="ttdef"><b>Definition:</b> comm_struct_define.h:149</div></div>
<div class="ttc" id="acomm__struct__define_8h_html_a921819d0a0cc8071ee2efca0e982eaa0"><div class="ttname"><a href="comm__struct__define_8h.html#a921819d0a0cc8071ee2efca0e982eaa0">GibbonResponseCallback</a></div><div class="ttdeci">int(* GibbonResponseCallback)(char *)</div><div class="ttdoc">Gibbon通讯数据生成回调。回调函数指针原型</div><div class="ttdef"><b>Definition:</b> comm_struct_define.h:19</div></div>
<div class="ttc" id="arobot__comm__interface_8h_html_a6fa2a9e34466a7e729613f6107a57b0d"><div class="ttname"><a href="robot__comm__interface_8h.html#a6fa2a9e34466a7e729613f6107a57b0d">CRobotComm::getModbusTcpServerInfo</a></div><div class="ttdeci">RobotCommApi SModbusTcpServerInfo * getModbusTcpServerInfo()</div><div class="ttdoc">获取ModbusTCP服务端通讯配置参数。系统级函数接口</div></div>
<div class="ttc" id="arobot__comm__interface_8h_html_ae5fba62a4d591a36adbe9a75947f5981"><div class="ttname"><a href="robot__comm__interface_8h.html#ae5fba62a4d591a36adbe9a75947f5981">CRobotComm::connectToServer</a></div><div class="ttdeci">RobotCommApi int connectToServer(HANDLE handle_=NULL)</div><div class="ttdoc">连接服务端。用户级函数接口</div></div>
<div class="ttc" id="arobot__comm__interface_8h_html_a8c49df63f38df75b180e61ec945482cf"><div class="ttname"><a href="robot__comm__interface_8h.html#a8c49df63f38df75b180e61ec945482cf">CRobotComm::getModbusTcpClientVisionConnectStatus</a></div><div class="ttdeci">RobotCommApi bool getModbusTcpClientVisionConnectStatus()</div><div class="ttdoc">获取ModbusTCP视觉客户端通讯连接状态。用户级函数接口</div></div>
<div class="ttc" id="arobot__comm__interface_8h_html_a9e247da871f9521c2e12086a324061fe"><div class="ttname"><a href="robot__comm__interface_8h.html#a9e247da871f9521c2e12086a324061fe">CRobotComm::loopUserTcpServer</a></div><div class="ttdeci">RobotCommApi void loopUserTcpServer()</div><div class="ttdoc">远程TCP协议,机器人服务端通讯循环实现接口。系统级函数接口</div></div>
<div class="ttc" id="astruct_s_modbus_tcp_client_cmd_ex_html"><div class="ttname"><a href="struct_s_modbus_tcp_client_cmd_ex.html">SModbusTcpClientCmdEx</a></div><div class="ttdoc">ModbusTCP视觉客户端额外通讯命令</div><div class="ttdef"><b>Definition:</b> comm_struct_define.h:101</div></div>
<div class="ttc" id="arobot__comm__interface_8h_html_a31418e742f17464db5181de9e7e08f54"><div class="ttname"><a href="robot__comm__interface_8h.html#a31418e742f17464db5181de9e7e08f54">CRobotComm::getUserTcpServerInfo</a></div><div class="ttdeci">RobotCommApi SUserTcpServerInfo * getUserTcpServerInfo()</div><div class="ttdoc">获取远程TCP协议服务端通讯配置参数。系统级函数接口</div></div>
<div class="ttc" id="astruct_s_tcp_server_info_html"><div class="ttname"><a href="struct_s_tcp_server_info.html">STcpServerInfo</a></div><div class="ttdoc">TCP服务端参数信息</div><div class="ttdef"><b>Definition:</b> comm_struct_define.h:171</div></div>
<div class="ttc" id="arobot__comm__interface_8h_html_af39db568f4a30014b971d04ba3fc908d"><div class="ttname"><a href="robot__comm__interface_8h.html#af39db568f4a30014b971d04ba3fc908d">CRobotComm::removeTcpClient</a></div><div class="ttdeci">RobotCommApi bool removeTcpClient(HANDLE handle_=NULL)</div><div class="ttdoc">移除TCP客户端。用户级函数接口</div></div>
<div class="ttc" id="arobot__comm__interface_8h_html_a5c106f93b5a5fb5d6bd7e848907fa0e6"><div class="ttname"><a href="robot__comm__interface_8h.html#a5c106f93b5a5fb5d6bd7e848907fa0e6">CRobotComm::loopModbusTcpServer</a></div><div class="ttdeci">RobotCommApi void loopModbusTcpServer()</div><div class="ttdoc">ModbusTCP服务端通讯任务循环实现接口。系统级函数接口</div></div>
<div class="ttc" id="acomm__struct__define_8h_html_a916a87c0a09ac663fcc24844391e40ae"><div class="ttname"><a href="comm__struct__define_8h.html#a916a87c0a09ac663fcc24844391e40ae">RemoteTcpResponseCallback</a></div><div class="ttdeci">int(* RemoteTcpResponseCallback)(int, char *, char *)</div><div class="ttdoc">远程TCP数据应答函数指针类型。回调函数指针原型</div><div class="ttdef"><b>Definition:</b> comm_struct_define.h:29</div></div>
<div class="ttc" id="astruct_s_tcp_client_status_html"><div class="ttname"><a href="struct_s_tcp_client_status.html">STcpClientStatus</a></div><div class="ttdoc">TCP客户端状态信息</div><div class="ttdef"><b>Definition:</b> comm_struct_define.h:180</div></div>
<div class="ttc" id="arobot__comm__interface_8h_html_a550b012e6c397317769518e231304806"><div class="ttname"><a href="robot__comm__interface_8h.html#a550b012e6c397317769518e231304806">CRobotComm::setModbusTcpServerNormalInfo</a></div><div class="ttdeci">RobotCommApi void setModbusTcpServerNormalInfo(SModbusTcpServerNormalInfo *info)</div><div class="ttdoc">设置ModbusTCP通用服务端通讯配置参数。用户级函数接口</div></div>
<div class="ttc" id="arobot__comm__interface_8h_html_ade304ab0ca1e2662fff6da59c2e6e1dc"><div class="ttname"><a href="robot__comm__interface_8h.html#ade304ab0ca1e2662fff6da59c2e6e1dc">CRobotComm::getModbusTcpServerConnectList</a></div><div class="ttdeci">RobotCommCpp vector&lt; STcpConnectClientInfo &gt; getModbusTcpServerConnectList()</div><div class="ttdoc">获取ModbusTCP服务端远端连接列表。系统级函数接口</div></div>
<div class="ttc" id="arobot__comm__interface_8h_html_acc09e664f99015629d75b11310ed39d4"><div class="ttname"><a href="robot__comm__interface_8h.html#acc09e664f99015629d75b11310ed39d4">CRobotComm::getModbusTcpClientVisionInfo</a></div><div class="ttdeci">RobotCommApi SModbusTcpClientInfo * getModbusTcpClientVisionInfo()</div><div class="ttdoc">读取ModbusTCP视觉客户端通讯配置参数。用户级函数接口</div></div>
<div class="ttc" id="arobot__comm__interface_8h_html_a0ae5c09c34691ccaa6a695f15aaeac6d"><div class="ttname"><a href="robot__comm__interface_8h.html#a0ae5c09c34691ccaa6a695f15aaeac6d">CRobotComm::getRemoteTcpResponseCallback</a></div><div class="ttdeci">RobotCommApi RemoteTcpResponseCallback getRemoteTcpResponseCallback()</div><div class="ttdoc">获取远程TCP数据应答函数指针。系统级函数接口</div></div>
<div class="ttc" id="arobot__comm__interface_8h_html_afed0b78b289adcf7cebefb1cb559dbed"><div class="ttname"><a href="robot__comm__interface_8h.html#afed0b78b289adcf7cebefb1cb559dbed">CRobotComm::getTcpClientStatus</a></div><div class="ttdeci">RobotCommApi bool getTcpClientStatus(HANDLE handle_=NULL, STcpClientStatus *status_=NULL)</div><div class="ttdoc">获取TCP客户端当前状态。用户级函数接口</div></div>
<div class="ttc" id="arobot__comm__interface_8h_html_af427cac6d40e767c2437bccd30019104"><div class="ttname"><a href="robot__comm__interface_8h.html#af427cac6d40e767c2437bccd30019104">CRobotComm::sendData</a></div><div class="ttdeci">RobotCommApi int sendData(HANDLE handle_=NULL, char *data_=NULL, int data_len=0)</div><div class="ttdoc">发送数据。用户级函数接口</div></div>
<div class="ttc" id="arobot__comm__interface_8h_html_a44df6930b7d216e184f524822defaf40"><div class="ttname"><a href="robot__comm__interface_8h.html#a44df6930b7d216e184f524822defaf40">CRobotComm::getUserTcpServerConnectList</a></div><div class="ttdeci">RobotCommCpp vector&lt; STcpConnectClientInfo &gt; getUserTcpServerConnectList()</div><div class="ttdoc">获取远程TCP服务端远端连接列表。系统级函数接口</div></div>
<div class="ttc" id="astruct_s_modbus_tcp_server_info_html"><div class="ttname"><a href="struct_s_modbus_tcp_server_info.html">SModbusTcpServerInfo</a></div><div class="ttdoc">ModbusTCP服务端配置参数</div><div class="ttdef"><b>Definition:</b> comm_struct_define.h:124</div></div>
<div class="ttc" id="arobot__comm__interface_8h_html_a93f63e939622d297dcb380600519870e"><div class="ttname"><a href="robot__comm__interface_8h.html#a93f63e939622d297dcb380600519870e">CRobotComm::setGibbonTrig</a></div><div class="ttdeci">RobotCommApi bool setGibbonTrig(bool *enb=NULL, GibbonResponseCallback pFunc=NULL)</div><div class="ttdoc">设置Gibbon触发使能变量指针和通讯数据生成函数指针。系统级函数接口</div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
